<div id="content" class="home">
    <?
    if($data->home->apps->belly)
    foreach ($data->home->apps->belly as $i)
        @include 'apps/'.$i.'/template/_home_belly.html';
    ?>
</div>
<div id="aside">
    <?
    if($data->home->apps->flank)
    foreach ($data->home->apps->flank as $i)
        @include 'apps/'.$i.'/template/_home_flank.html';
    ?>
</div>
<script type="text/javascript"> tool.valuelabels(); tool.tabs(); </script>